package com.ruoyi.discuss.mapper;

import java.util.List;
import com.ruoyi.discuss.domain.Biglike;

/**
 * 点赞Mapper接口
 * 
 * @author ruoyi
 * @date 2023-12-14
 */
public interface BiglikeMapper 
{
    /**
     * 查询点赞
     * 
     * @param likeid 点赞主键
     * @return 点赞
     */
    public Biglike selectBiglikeByLikeid(Long likeid);

    /**
     * 查询点赞列表
     * 
     * @param biglike 点赞
     * @return 点赞集合
     */
    public List<Biglike> selectBiglikeList(Biglike biglike);

    /**
     * 新增点赞
     * 
     * @param biglike 点赞
     * @return 结果
     */
    public int insertBiglike(Biglike biglike);

    /**
     * 修改点赞
     * 
     * @param biglike 点赞
     * @return 结果
     */
    public int updateBiglike(Biglike biglike);

    /**
     * 删除点赞
     * 
     * @param likeid 点赞主键
     * @return 结果
     */
    public int deleteBiglikeByLikeid(Long likeid);

    /**
     * 批量删除点赞
     * 
     * @param likeids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBiglikeByLikeids(Long[] likeids);
}
